import request from '@/utils/request'

const applyApi = {
  // 查询数据
  selectData: function (data, areaCode) {
    return request({
      url: `/data/${areaCode}/apply/page`,
      method: 'post',
      data,
    });
  },
  // 保存
  saveData: function (data, areaCode) {
    return request({
      url: `/data/${areaCode}/apply/save`,
      method: 'post',
      data,
    });
  },
};

export default applyApi;